<template>
  <div class="breadcrumb-box">
    <div class="breadcrumb">
      <i class="iconfont icon-shouye"></i> 您当前所在位置：<router-link to="/home">首页</router-link> ><a href="#" class="activeHref">{{ $route.meta.title }} </a>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Breadcrumb'
}
</script>

<style scoped>
.breadcrumb-box {
  background-color: #fff;
  box-shadow: 2px 2px 3px #eeeeee;
}
.breadcrumb-box .breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10px;
  line-height: 50px;
}
.breadcrumb-box .breadcrumb a {
  font-size: 15px;
}
.breadcrumb-box .breadcrumb a:hover {
  color: #ce3737;
  text-decoration: underline;
}
.activeHref {
  color: brown;
}
/* 移动端样式 */
@media screen and (max-width: 767px) {
  .breadcrumb-box {
    display: none;
  }
}
</style>